package com.group.three.service.myorderservice;

import com.group.three.entity.myOrder.MemberAddress;

import java.util.List;

public interface MemberAddressBuyerService {
    //通过会员id查询地址
    List<MemberAddress> getAddressByMember(String memberId);

    //通过地址id查询地址详情信息
    MemberAddress getAddressItem(Long id);

    //修改会员地址信息
    int updateMemberAddress(MemberAddress shippingAddress);

    //增加会员收件地址
    int addMemberAddress(MemberAddress shippingAddress);

    //删除会员收件地址
    int removeMemberAddress(String id);
}
